package com.md.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.md.value.SexEnum;
import com.md.value.UsersStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * @author 刘骄阳
 * @date 2025/5/25 23:42
 **/
@Data
@ApiModel("用户登录响应实体")
public class UsersTokenResponse {
  @ApiModelProperty(value = "用户id")
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long id;
  @ApiModelProperty(value = "邮箱地址")
  private String email;
  @ApiModelProperty(value = "手机号")
  private String phone;
  @ApiModelProperty(value = "用户名")
  private String name;
  @ApiModelProperty(value = "头像")
  private String avatar;
  @ApiModelProperty(value = "性别")
  private SexEnum sex;
  @ApiModelProperty(value = "用户状态")
  private UsersStatusEnum status;
  @ApiModelProperty(value = "身份证")
  private String authCode;
  @ApiModelProperty(value = "解冻时间")
  private LocalDateTime frozen;
}
